home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 9660 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: news.rain.org!usenet
  2. From: "Guus Leeuw jr." <guusl@eiffel.com>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Calling System Command in SUN C
  5. Date: Tue, 12 Mar 1996 08:46:00 -0800
  6. Organization: Interactive Software Engineering Inc. http://www.eiffel.com/
  7. Message-ID: <3145AA48.7DBF442F@eiffel.com>
  8. References: <4i1hlu$asm@ni1.ni.net>
  9. NNTP-Posting-Host: @outback.eiffel.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (X11; I; Linux 1.2.8 i586)
  14.  
  15. Ed Thomson wrote:
  16. > I was wondering if anyone could help me with this problem.
  17. > I am new to SUN C and am using version 3.0.1.
  18. > I would like to execute a system command such as mail or a shell
  19. > script I have generated and was wondering if anyone knew of an easy
  20. > way to do this within C.
  21.  
  22. Remember Commandment 7?
  23. "Thou shalt study thy libraries and strive not te reivent without cause,
  24. that thy code may be short and readable and thy days pleasant and
  25. productive."
  26.  
  27. Remember C-FAQ 19.27?
  28. "How can I invoke another program (a standalone executable, or an
  29. operating system command) from within a C program?"
  30.  
  31. Hope this gives some on where to look firsst before posting.
  32. I don't Steve is putting much of his valuable time doing the FAQ for
  33. nothing more then time and time again seeing the same question.
  34.  
  35. It's there to helps you out, use it. It's free!!
  36.